---
title: "cast to storage · RUAL Documentation"
description: "Converts your array to storages"
canonical: https://docs.rual.nl/block-types/type casting/array_convert_to_storage
language: en
---

# cast to storage

This block is part of the [`type casting`](https://docs.rual.nl/block-types/type%20casting) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Converts your array to storages

- array required `array` The array to be converted into a storage.

- storage `storage` The converted output storage.

A typical wiring for [cast to storage](https://docs.rual.nl/block-types/type%20casting/array_convert_to_storage): the `storage` out pin feeds [get mapping](https://docs.rual.nl/block-types/storage/function_get_mapping).

![Studio canvas example for the cast to storage block: typical wiring for cast to storage.](https://docs.rual.nl/canvas-examples/array_convert_to_storage.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
